package com.six.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("buy_plan")
public class BuyPlan {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    private Date date;

    //需求工厂
    private String factoryIds;

    //原料id
    private Long materialId;

    //上月多/少发
    private Integer moreLess;

    //库存量
    private Integer remain;

    //在途 默认为0
    private Integer onWay=0;

    //本月应采购量
    private Integer need;

    //计划采购量
    private Integer plan;


}
